package com.hg.observer;

/**
 * @Author: skh
 * @Date: 2018/10/29 10:20
 * @Description: 观察者1
 */
public class Observer1 implements Observer{
    @Override
    public void update(Observable o, Object arg) {
        System.out.println("我是订阅者1");
        System.out.println("接收到状态改变");
    }
}
